﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_Receives_Log
    {
        #region Fields

        private Nullable<DateTime> RECEIVELOG_DATE;
        private Nullable<int> BGM_YEAR;
        private string RECEIPT_NO;
        private string REF_NO;
        private string RECEIVELOG_REMARK;
        private string RECORD_STATUS;
        private string RECEIVE_MODE;
        private string INPUT_SOURCE;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        #endregion

        #region Properties

        public Nullable<DateTime> receivelog_date
        {
            get { return RECEIVELOG_DATE; }
            set { RECEIVELOG_DATE = value; }
        }

        public Nullable<int> bgm_year
        {
            get { return BGM_YEAR; }
            set { BGM_YEAR = value; }
        }

        public string receipt_no
        {
            get { return RECEIPT_NO; }
            set { RECEIPT_NO = value; }
        }

        public string ref_no
        {
            get { return REF_NO; }
            set { REF_NO = value; }
        }

        public string receivelog_remark
        {
            get { return RECEIVELOG_REMARK; }
            set { RECEIVELOG_REMARK = value; }
        }

        public string record_status
        {
            get { return RECORD_STATUS; }
            set { RECORD_STATUS = value; }
        }

        public string receive_mode
        {
            get { return RECEIVE_MODE; }
            set { RECEIVE_MODE = value; }
        }

        public string input_source
        {
            get { return INPUT_SOURCE; }
            set { INPUT_SOURCE = value; }
        }

        public Nullable<int> created_by
        {
            get { return CREATED_BY; }
            set { CREATED_BY = value; }
        }

        public Nullable<DateTime> created_when
        {
            get { return CREATED_WHEN; }
            set { CREATED_WHEN = value; }
        }

        public Nullable<int> updated_by
        {
            get { return UPDATED_BY; }
            set { UPDATED_BY = value; }
        }

        public Nullable<DateTime> updated_when
        {
            get { return UPDATED_WHEN; }
            set { UPDATED_WHEN = value; }
        }

        #endregion

        #region Constructor

        public M_FIM_Receives_Log()
        {
        }

        public M_FIM_Receives_Log(Nullable<DateTime> RECEIVELOG_DATE,Nullable<int> BGM_YEAR,string RECEIPT_NO,string REF_NO
                                  ,string RECEIVELOG_REMARK,string RECORD_STATUS,string RECEIVE_MODE,string INPUT_SOURCE
                                  ,Nullable<int> CREATED_BY,Nullable<DateTime> CREATED_WHEN,Nullable<int> UPDATED_BY,Nullable<DateTime> UPDATED_WHEN)
        {
            this.RECEIVELOG_DATE = RECEIVELOG_DATE;
            this.BGM_YEAR = BGM_YEAR;
            this.RECEIPT_NO = RECEIPT_NO;
            this.REF_NO = REF_NO;
            this.RECEIVELOG_REMARK = RECEIVELOG_REMARK;
            this.RECORD_STATUS = RECORD_STATUS;
            this.RECEIVE_MODE = RECEIVE_MODE;
            this.INPUT_SOURCE = INPUT_SOURCE;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        #endregion
    }
}
